Skip to main content

PathMakeWithSector

Type

operator

Summary

Creates a new path.

Syntax

sector path centered at <mCenter> with [ radius <mRadius> | radii <mRadii> ] from <mStartAngle> to <mEndAngle>

Description

Creates a new path.

Parameters

NameTypeDescription

mCenter

An expression which evaluates to a point.

mRadius

An expression which evaluates to a number.

mRadii

An expression which evaluates to a list of numbers.

mStartAngle

An expression which evaluates to a number.

mEndAngle

An expression which evaluates to a number.

Examples

// Create an elliptical sector path
variable tPath as Path
put sector path centered at point [100,100] with radii [100,75] from 0 to 270 into tPath
// Create a circular sector path
variable tPath as Path
put sector path centered at point [100,100] with radius 100 from 0 to 270 into tPath
Thank you for your feedback!

Was this page helpful?